<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var iNum = 10;
        var fNum = 10.01;
        var sStr = "123";
        var iResult1 = iNum +sStr;
        var iResult2 = fNum +sStr;
        var iResult3 = iNum +parseInt(sStr);
        alert(iResult1);
        alert(iResult2);
        alert(iResult3);

    </script>
</head>
<body>
    
</body>
</html>